package cn.baizhi.feign;

import cn.baizhi.entity.Clazz;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("clazzs")
public interface ClazzClient {
    @GetMapping("clazzs/{id}")
    ResponseEntity<Clazz> selectOne(@PathVariable("id") String id);
}
